Skip to content

feat(providers): add Unifically as an OpenAI-compatible gateway - #14182

Merged
diegosouzapw merged 4 commits into
cheaper-inference:release/v3.8.52from
unifically-dev:feat/unifically-provider
Oct 8, 2026
Merged

diegosouzapw merged 4 commits into
cheaper-inference:release/v3.8.52from
unifically-dev:feat/unifically-provider

Conversation

@unifically-dev

@unifically-dev unifically-dev commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Adds Unifically as an OpenAI-compatible API-key gateway, in the same shape as #13025 (eurouter): default executor, no translator, passthroughModels, models: []. I work on Unifically. This replaces #14124, which I opened from the wrong account.

modelsUrl is /v1/models?category=llm. The catalog is one list for text, image, video and audio, and 30 of its 155 models are llm. Only those take chat completions. The media models run through an async task API that the default executor does not speak, so an unscoped listing would offer 125 models that fail on every request. There is a test pinning the scoped URL.

Checked against the live API on 2026-09-18:

GET  /v1/models                 -> 200, OpenAI-shaped list, 155 models
GET  /v1/models?category=llm    -> 200, 30 models
GET  /v1/models  (no key)       -> 401
POST /v1/chat/completions       -> 200, chat.completion
POST /v1/chat/completions stream:true -> SSE chunks, final usage chunk, data: [DONE]

Auth is Authorization: Bearer <key>. No tool or vision capability is declared because I did not exercise either. hasFree is false: new accounts get a one-time starting balance, which is not a free tier. It is in AGGREGATOR_PROVIDER_IDS since it routes to third-party model providers.

One bug on our side: in the streamed response the final usage chunk reports completion_tokens: 0. It does not affect routing.

tests/unit/unifically-provider.test.ts passes (7) and eurouter-provider.test.ts still passes. gateways.ts grows by 19 lines of catalog data, so file-size-baseline.json will need the usual note on merge.

Registry entry in the eurouter / greenpt shape: default executor, no
translator, passthroughModels. Discovery uses /v1/models?category=llm
because the same catalog lists image, video and audio models that are
not chat-completion targets.
@diegosouzapw diegosouzapw changed the title feat(providers): add Unifically as an OpenAI-compatible gateway [defer] feat(providers): add Unifically as an OpenAI-compatible gateway Sep 25, 2026
@diegosouzapw diegosouzapw added the deferred-v3.8.52 Grande demais / suspeito para o lote atual; precisa de sessão dedicada no ciclo v3.8.52 label Sep 25, 2026
@diegosouzapw
diegosouzapw changed the base branch from release/v3.8.51 to release/v3.8.52 September 29, 2026 11:23
@diegosouzapw

Copy link
Copy Markdown
Collaborator

Re-homed to release/v3.8.52: v3.8.51 entered its release freeze, so the branch now belongs to the release captain and development continues on the next cycle. Nothing is wrong with this PR — it just needed a live base. No action needed from you; CI will re-run against the new base.

@diegosouzapw diegosouzapw changed the title [defer] feat(providers): add Unifically as an OpenAI-compatible gateway feat(providers): add Unifically as an OpenAI-compatible gateway Oct 1, 2026
@diegosouzapw diegosouzapw removed the deferred-v3.8.52 Grande demais / suspeito para o lote atual; precisa de sessão dedicada no ciclo v3.8.52 label Oct 1, 2026
unifically-dev and others added 3 commits October 7, 2026 23:13
…ateways

Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
# Conflicts:
#	src/shared/constants/providers/apikey/gateways.ts
#	tests/unit/provider-node-reserved-prefix.test.ts
#	tests/unit/providers-constants-split.test.ts
…ecord gateways.ts wiring

The translate-path golden had no block for the new provider, so the snapshot
guard failed on the merged tree; regenerated with UPDATE_GOLDEN=1 and kept
only the added "unifically" entry. gateways.ts ends at 1575 after the tip
merge (+2 import/spread wiring on top of the tip's 1573), recorded in
file-size-baseline.json with a justification.

Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
@diegosouzapw
diegosouzapw merged commit d8ad4c5 into cheaper-inference:release/v3.8.52 Oct 8, 2026
3 checks passed
diegosouzapw pushed a commit that referenced this pull request Oct 8, 2026
Brought the tip in (after #14182 Unifically landed, the two provider-count tests are now 416 reserved prefixes / 245 api-key providers, measured). Provider-consistency, translate-path golden, count tests 28/28, file-size, changelog and test-masking green; the worker's earlier validation covered typechecks, eslint and the full gate set. Provider counters in docs are regenerated in a separate follow-up. Thank you!
Codonyat added a commit to Codonyat/OmniRoute that referenced this pull request Oct 8, 2026
…la.ts

gateways.ts is frozen at its line ceiling, so the entry now lives in its own
file and gateways.ts gains only the import and the spread (+2), the same
wiring onomeo (cheaper-inference#14297) and unifically (cheaper-inference#14182) use. The rebaseline note and
the gateways.ts ceiling drop from 1592 to 1577 to match.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants